﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Collections.Generic;

namespace KOF.ViewModels
{
    public class ReleaseStatusViewModel : ViewModelBase
    {

        //List<string> ListItemSource = new List<string>();

        private IList<LBItem> _listItemSource;
        public IList<LBItem> ListItemSource
        {
            get
            {
                if (_listItemSource == null)
                    _listItemSource = new List<LBItem>();
                return _listItemSource;
            }
            set
            {
                if (_listItemSource != value)
                {
                    _listItemSource = value;
                }
                OnPropertyChanged("ListItemSource");
            }
        }



        public ReleaseStatusViewModel()
        {
            ListItemSource.Add(new LBItem() { strItem = "Past", strImgPath = "../Images/ic_tick.png" });
            ListItemSource.Add(new LBItem() { strItem = "Upcoming", strImgPath = "../Images/ic_tick.png" });
        }



        public class LBItem
        {
            public string strItem;
            public string strImgPath;
        }
    }
}
